package com.fare.taluo.util.excel.engine.module;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class SheetData {
	
	/**sheet id，在同一个excel中必须唯一*/
	private String id;
	
	/**sheet数据的类名*/
	private String classname;
	
	/**数据开始的行号*/
	private String startRow="1";
	/**数据开始的列号*/
	private String startColumn = "0";
	
	/**列宽*/
	private int columnWith=10;
	
	/**数据对象中的属性类型*/
	private String type;
	
	/**是否需要加索引列 true ： 需要索引列，false：不需要索引列*/
	private String needIndex="false";
	
	/**
	 * 标题的格式
	 * xml 文件中配置style="font:TIME;color:RED"
	 */
	
	private Map<String,String> style=new HashMap<String,String>();
	
	/**表头数据*/
	private List<PropertyModel>  propertyModels=new ArrayList<PropertyModel>();
	
	private int needTotal=0;
	private int needSubTotal=0;
	
	public int getNeedSubTotal() {
		return needSubTotal;
	}

	public void setNeedSubTotal(int needSubTotal) {
		this.needSubTotal = needSubTotal;
	}

	public int getNeedTotal() {
		return needTotal;
	}

	public void setNeedTotal(int needTotal) {
		this.needTotal = needTotal;
	}

	public String getNeedIndex() {
		return needIndex;
	}

	public void setNeedIndex(String needIndex) {
		this.needIndex = needIndex;
	}

	public Map<String, String> getStyle() {
		return style;
	}

	public void setStyle(Map<String, String> style) {
		this.style = style;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getClassname() {
		return classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}

	public int getColumnWith() {
		return columnWith;
	}

	public void setColumnWith(int columnWith) {
		this.columnWith = columnWith;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public List<PropertyModel> getPropertyModels() {
		return propertyModels;
	}

	public void setPropertyModels(List<PropertyModel> propertyModels) {
		this.propertyModels = propertyModels;
	}

	public String getStartRow() {
		return startRow;
	}

	public void setStartRow(String startRow) {
		this.startRow = startRow;
	}

	public String getStartColumn() {
		return startColumn;
	}

	public void setStartColumn(String startColumn) {
		this.startColumn = startColumn;
	}

	
}
